Small documentation update
authorMatthias Clasen <mclasen@redhat.com>
Mon, 5 May 2014 13:41:06 +0000 (09:41 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 5 May 2014 13:41:06 +0000 (09:41 -0400)
Don't show an example that doesn't work anymore.

gtk/gtkwidget.c

index 44316f137a35015bd92bd2d410d4fb246edb30b1..ce4f6ae33d080332d4998591123753015a8d4b2b 100644 (file)
  * {
  *    if (i_am_in_height_for_width_mode)
  *      {
- *        gint min_width;
+ *        gint min_width, nat_width;
  *
  *        GTK_WIDGET_GET_CLASS (widget)->get_preferred_width (widget,
  *                                                            &min_width,
- *                                                            NULL);
+ *                                                            &nat_width);
  *        GTK_WIDGET_GET_CLASS (widget)->get_preferred_height_for_width
  *                                                           (widget,
  *                                                            min_width,